import { IForm } from 'src/components/userInput/type'
export const formConfig: IForm = {
  itemStyle: {
    padding: '5px 40px'
  },
  labelWidth: '100px',
  colLauout: {
    span: 8
  },
  formItem: [
    {
      field: 'leader',
      type: 'input',
      label: '角色名',
      placeholder: '请输入角色名'
    },
    {
      field: 'name',
      type: 'input',
      label: '部门名称',
      placeholder: '请输入部门名称'
    },

    {
      field: 'createdTime',
      type: 'datepicker',
      label: '创建时间',
      placeholder: '请选项创建的时间',
      otherOptions: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    }
  ]
}
